package pet_pavilion.yushouge.ams.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
import pet_pavilion.yushouge.ams.pojo.entity.Admin;
import pet_pavilion.yushouge.ams.pojo.vo.AdminListVO;
import pet_pavilion.yushouge.ams.pojo.vo.AdminLoginInfoVO;
import pet_pavilion.yushouge.ams.pojo.vo.AdminStandardVO;

import java.util.List;

@Repository
public interface AdminMapper extends BaseMapper<Admin> {

    int deleteByAdminId(Long id);

    AdminStandardVO getStandardById(Long id);

    List<AdminListVO> list();

    AdminLoginInfoVO getLoginInfoByUsername(String username);

}
